Configure sflow in fortigate firewallΒΆ

::

FG100E_MotaData # config system sflow

FG100E_MotaData (sflow) # set collector-ip 172.16.10.115

FG100E_MotaData (sflow) # set collector-port 4738

FG100E_MotaData (sflow) # end

FG100E_MotaData # config system interface

FG100E_MotaData (interface) # edit wan2

FG100E_MotaData (wan2) # set sflow-sampler enable

FG100E_MotaData (wan2) # set sample-rate 100

FG100E_MotaData (wan2) # set sample-direction both

FG100E_MotaData (wan2) # set polling-interval 60

FG100E_MotaData (wan2) # next

FG100E_MotaData (interface) # end

FG100E_MotaData # cfg save Unknown action 0

To remove configuration.

FG100E_MotaData # config system sflow

FG100E_MotaData (sflow) # unset collector-ip

FG100E_MotaData (sflow) # unset collector-port

FG100E_MotaData (sflow) # end

FG100E_MotaData # config system interface

FG100E_MotaData (interface) # edit wan2

FG100E_MotaData (wan2) # unset sflow-sampler enable

FG100E_MotaData (wan2) # unset sample-rate 100

FG100E_MotaData (wan2) # unset sample-direction both

FG100E_MotaData (wan2) # unset polling-interval 60

FG100E_MotaData (wan2) # next

FG100E_MotaData (interface) # end

FG100E_MotaData # cfg save
Unknown action 0